<include file="Public/header"/>
<body class="body-bg">
<div class="park-header">
    <div class="park-header__title">余额积分</div>
    <div class="park-header__left park-back">
        <i class="iconfont icon-fanhui"></i>
    </div>
</div>
<div class="container">
    <div class="balance-block">
        <div class="title">
            <div class="icon-block"><i class="iconfont icon-jifen"></i></div>&nbsp;&nbsp;账户余额
        </div>
        <p class="money">￥<span>{$user_info.price}</span></p>
        <div class="btn-chongzhi" onclick="window.location='/Home/User/recharge/';">充值</div>
        <!--<div class="btn-tixian" onclick="window.location='/Home/User/withdraw/';">提现</div>-->
    </div>
    <div class="score-block">
        <i class="iconfont icon-jifen"></i>&nbsp;&nbsp;积分：{$user_info.give_integral}
    </div>
    <div class="balance-history">
        <div class="balance-history__title">
            <span>全部记录</span>
        </div>
        <div class="balance-history-list">
            <volist name="log_list" id="val">
            <div class="balance-history-item">
                <div class="row">
                    <div class="type"><if condition="$val['type_id'] eq 1">消费<else />充值</if></div>
                    <div class="time">{$val.add_time|date="Y-m-d H:i",###}</div>
                </div>
                <div class="row2">
                    <div class="balance-text">余额：<if condition="$val['type_id'] eq 1">-<else />+</if>{$val.price}</div>
                    <div class="score-text">积分：+{$val.integral}</div>
                </div>
            </div>
            </volist>
        </div>
    </div>
</div>
</body>
</html>